projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b57457
)
(SETUP_SYNTAX_TABLE): Don't call update_syntax_table
author
Richard M. Stallman
<rms@gnu.org>
Thu, 11 Jun 1998 20:16:45 +0000
(20:16 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 11 Jun 1998 20:16:45 +0000
(20:16 +0000)
for FROM-1 if that's before BEGV.
src/syntax.h
patch
|
blob
|
history
diff --git
a/src/syntax.h
b/src/syntax.h
index 35d50899e3f54c1f55c3aa654768a2f67514a350..4b58b5da636a8573edc87289a35c06554d25408a 100644
(file)
--- a/
src/syntax.h
+++ b/
src/syntax.h
@@
-284,8
+284,9
@@
if (1) \
gl_state.offset = 0; \
gl_state.current_syntax_table = current_buffer->syntax_table; \
if (parse_sexp_lookup_properties) \
- update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT), \
- 1, Qnil); \
+ if ((COUNT) > 0 || (FROM) > BEGV) \
+ update_syntax_table ((COUNT) > 0 ? (FROM) : (FROM) - 1, (COUNT),\
+ 1, Qnil); \
} \
else